package com.yanshibo.house01_service.service;



import java.util.List;

import javax.validation.Valid;

import com.github.pagehelper.PageInfo;
import com.yanshibo.house01_bean.bean.Hourse;
import com.yanshibo.house01_bean.bean.Lei;
import com.yanshibo.house01_bean.bean.PeiTao;
import com.yanshibo.house01_bean.bean.Tem;

//业务逻辑层
public interface MyService {

	//列表
	PageInfo<Hourse> list(Integer pageNum, Integer pageSize, Tem tem);

	//出租
	void chu(String id);

	//退租
	void tui(String id);

	// 删除
	void del(String id);

	//房屋类型
	List<Lei> listLei();

	//添加房屋信息
	void addHou(@Valid Hourse hou);

	//查询房屋信息
	Hourse listHou(Integer id);

	//添加配套设施
	void addPei(@Valid PeiTao pei);

	//查询配套设施
	PeiTao seletePei(@Valid PeiTao pei);


}
